package top.zhangjianyong.tools.service.api;

import org.springframework.web.multipart.MultipartFile;
import top.zhangjianyong.tools.utils.ApiResponse;

import java.io.IOException;
import java.security.NoSuchAlgorithmException;

public interface TorrentService {
    ApiResponse torrentToMagnet(MultipartFile torrentFile) throws IOException, NoSuchAlgorithmException;

    ApiResponse list();
}
